Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch back to XR Plugin #484

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Switch back to XR Plugin #484

wants to merge 6 commits into from

Conversation

artumino
Copy link
Collaborator

@artumino artumino commented Nov 18, 2021

This is a PR to try and get the XR plugin working. Currently, shadows are wrong and the order of execution of command buffers is flipped between eyes. This situation also causes lots of crashes (and a particular one 100% reproducible that happens when looking at GD after waking up).

We managed to reproduce these crashes and visual glitches by using the projection matrix coming from SteamVR instead of the one that the legacy VR plugin uses, so this has probably something to do with the projection matrix used by the XR plugin.

This PR is the only known way to avoid using the external patcher (although it might still be necessary to solve the performance issues in the ending credits) and to allow changing the mirrored eye without introducing an additional spectator camera (#458) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant